<template>
    <view class="content">
        <view class="box">
            <textarea v-model="content" maxlength="-1" :auto-height="true" placeholder="这一刻的想法..." class="t-inp"></textarea>
            <view class="img-box">
                <image src="/static/image/up.png" class="up-icon2"></image>
            </view>
        </view>
        
        <view class="btn">确认发布</view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                title: '',
                content: '',
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    page{
        background-color: #f5f5f5;
    }
    .content{
        padding: 25rpx;
    }
    .box{
        padding: 30rpx;
        background-color: #fff;
        border-radius: 15rpx;
        margin-bottom: 20rpx;
        font-size: 30rpx;
    }
    .flex-between{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .up-icon{
        width: 154rpx;
        height: 154rpx;
    }
    .inp{
        text-align: right;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .t-inp{
        width: 100%;
        min-height: 200rpx;
        height: auto;
    }
    .img-box{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 15rpx;
    }
    .up-icon2{
        width: 204rpx;
        height: 204rpx;
        margin-right: 12rpx;
    }
    .btn{
        font-size: 34rpx;
        color: #fff;
        text-align: center;
        padding: 25rpx;
        background-color: #f29700;
        border-radius: 10rpx;
        margin-top: 50rpx;
    }
    
    

</style>
